package com.sghj.SysPermission.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sghj.SysPermission.entity.SysSchedulingLog;
import com.sghj.SysPermission.mapper.SysSchedulingLogMapper;
import com.sghj.SysPermission.service.SysSchedulingLogService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zzy
 * @since 2022-09-26
 */
@Service
public class SysSchedulingLogServiceImpl extends ServiceImpl<SysSchedulingLogMapper, SysSchedulingLog> implements SysSchedulingLogService {

    /**
     * 获取上个月值班人员id列表
     * @param month
     * @return
     */
    @Override
    public List<Integer> getLastMonthSchedulingEmp(String month) {
        return baseMapper.getLastMonthSchedulingEmp(month);
    }
}
